import './index.css';
let t1 = document.querySelector('.t1');
let t2 = document.querySelector('.t2');
let t3 = document.querySelector('.t3');
let con1 = document.querySelector('.con1');
let con2 = document.querySelector('.con2');
let con3 = document.querySelector('.con3');
t1.onclick = function () {
    con2.style.display = con3.style.display = 'none';
    con1.style.display = 'block';
    t1.style['background-color'] = 'aqua';
    t3.style['background-color'] = t2.style['background-color'] = 'white';
};
t2.onclick = function () {
    con1.style.display = con3.style.display = 'none';
    con2.style.display = 'block';
    t2.style['background-color'] = 'aqua';
    t3.style['background-color'] = t1.style['background-color'] = 'white';
};
t3.onclick = function () {
    con1.style.display = con2.style.display = 'none';
    con3.style.display = 'block';
    t3.style['background-color'] = 'aqua';
    t2.style['background-color'] = t1.style['background-color'] = 'white';
};
